package com.auth.manage.common.user.api.service;

import com.auth.manage.base.responce.BaseResponce;
import com.auth.manage.base.responce.SingleResponce;
import com.auth.manage.common.user.api.request.UserFreezeRequest;
import com.auth.manage.common.user.api.request.UserRegisterRequest;
import com.auth.manage.common.user.api.request.condition.UserQueryCondition;
import com.auth.manage.common.user.api.responce.UserResponce;
import com.auth.manage.base.responce.MultipleResponce;

public interface UserFacadeService {
    MultipleResponce<UserResponce> queryByCondition(UserQueryCondition condition);

    SingleResponce<UserResponce> register(UserRegisterRequest request);

    BaseResponce freezeUserByUserId(Long userId);

    BaseResponce unfreezeUserByUserId(Long userId);
}
